﻿
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NicoView.ViewModel
{
    public sealed class NicoViewCommentShowViewModel:NicoViewCommentListViewModelBase
    {



        public void AddComments(NicoViewCommentCollection comments)
        {
            foreach (var comment in comments)
            {
                _add(comment);
            }
        }

        private void _add(NicoViewCommentViewModel comment)
        {
            this.Comments.Add(new NicoViewCommentViewModel(comment.Comment, this));
        }


        public override void Loded()
        {

        }

        protected internal override void onAddComment(NicoView.Model.Service.Events.NicoCommentReceiveEventArgs args)
        {

        }

        protected internal override void onPeriod(NicoView.Model.Service.Events.NicoCommentReceivePeriodEventArgs args)
        {

        }

        public override void ConnectLive()
        {

        }
    }
}
